home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 15
/
Aminet 15 - Nov 1996.iso
/
Aminet
/
dev
/
gcc
/
ixemsdk.lha
/
man
/
cat3
/
free.0
< prev
next >
Wrap
Text File
|
1996-09-02
|
1KB
|
31 lines
FREE(3) UNIX Programmer's Manual FREE(3)
NNAAMMEE
ffrreeee - free up memory allocated with malloc, calloc or realloc
SSYYNNOOPPSSIISS
##iinncclluuddee <<ssttddlliibb..hh>>
_v_o_i_d
ffrreeee(_v_o_i_d _*_p_t_r)
DDEESSCCRRIIPPTTIIOONN
The ffrreeee() function causes the space pointed to by _p_t_r to be deallocated,
that is, made available for further allocation. If _p_t_r is a null point-
er, no action occurs. Otherwise, if the argument does not match a point-
er earlier returned by the calloc, malloc, or realloc function, or if
the space has been deallocated by a call to ffrreeee() or realloc, general
havoc may occur.
RREETTUURRNN VVAALLUUEESS
The ffrreeee() function returns no value.
SSEEEE AALLSSOO
calloc(3), malloc(3), realloc(3)
SSTTAANNDDAARRDDSS
The ffrreeee() function conforms to ANSI C3.159-1989 (``ANSI C'').
BSD Experimental June 29, 1991 1